/* Полный сброс стилей */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html, body {
    height: 100%;
    line-height: 1;
}

body {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    background: none;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.upper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  width: 100%;
  height: 100vh;
  background: url('../assets/images/bgup.png') center/cover no-repeat fixed;
  padding: 40px;
  position: relative;
}

.lower{
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/bg.png');
  background-size: cover;      /* растягивает без искажений */
  background-position: center; /* фиксирует центр */
  background-repeat: no-repeat;
  background-attachment: fixed; /* единый визуальный слой */
}

.dropname {
  grid-area: 2 / 3 / 3 / 5;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  font-size: 300%;
  text-align: left;
  transform: translate(15%, -35%);
  color: #edeebd;
}

.specs {
  grid-area: 2 / 3 / 3 / 5;
  font-family: Verdana, sans-serif;
  font-size: 150%;
  text-align: left;
  transform: translate(15%, 0);
  color: #edeebd;
}

.specs2 {
  grid-area: 2 / 3 / 3 / 5;
  font-family: Verdana, sans-serif;
  font-size: 150%;
  text-align: left;
  transform: translate(15%, 15%);
  color: #edeebd;
}

.price {
  grid-area: 2 / 3 / 3 / 5;
  font-family: Verdana, sans-serif;
  font-size: 150%;
  text-align: left;
  transform: translate(15%, 30%);
  color: #edeebd;
}

.write {
  font-family: Verdana, sans-serif;
  font-size: 300%;
  font-weight: 600%;
  text-align: center;
  color: #ff9933;
  background: rgba(120,120,120,0.75);
  border: 1px solid rgba(150,150,150,0.5);
  border-radius:15px;
  padding: 10px 20px;
}

.order-btn {
  display: inline-block;
  grid-area: 3 / 3 / 3 / 3;
  font-family: Verdana, sans-serif;
  font-size: 300%;
  color: #edeebd;
  background:rgba(75, 25, 20, 0.75);
  border-radius:15px;
  cursor: pointer;
  scale:0.75;
  transform: translate(23%, 0);
}

.droptshirt {
  grid-area: 2 / 2 / 5 / 3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  scale: 2;
  transform: translateY(10%);
}

.lower {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;     /* центр по горизонтали */
  justify-content: flex-start; /* сверху */
  gap: 15%;               /* расстояние между текстом и карточкой */
  padding-top: 10%;
  background-image: url('../assets/images/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.links-card {
  width: 100%;
  max-width: 35%;
  background: rgba(190,190,190,0.5);
  border-radius: 25px;
  padding: 2%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.links-logo {
  width: 100%;
  margin: auto;
  margin-bottom:5%;
}

.links-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  margin-bottom:5%;
}

.links-btn {
  font-family: Verdana, sans-serif;
  font-weight: 200%;
  font-size: 150%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  min-width: 200px;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform .12s ease, box-shadow .12s ease;
}

.links-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(255,153,51,0.75);
}

.links-btn.insta {
  background: linear-gradient(135deg,#f58529 0%,#dd2a7b 50%,#8134af 100%);
}

.links-btn.tg {
  background: linear-gradient(90deg,#2AABEE,#229ED9);
}

html {
    scroll-behavior: auto;
}

.opg {

}

.opb {

}
